package com.onepower.core.modules.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 比赛分数表
 * </p>
 *
 * @author kin
 * @since 2018-08-12
 */
@TableName("match_score")
public class MatchScore implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("match_schedule_id")
	private Integer matchScheduleId;
    /**
     * 裁判标识
     */
	private String referee;
    /**
     * 表现力分数
     */
	private Double expressiveness;
    /**
     * 准确度分数
     */
	private Double accuracy;
    /**
     * 0.青方 1.红方
     */
	private Integer winner;
	@TableField("create_time")
	private Date createTime;
	@TableField("referee_id")
	private Integer refereeId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMatchScheduleId() {
		return matchScheduleId;
	}

	public void setMatchScheduleId(Integer matchScheduleId) {
		this.matchScheduleId = matchScheduleId;
	}

	public String getReferee() {
		return referee;
	}

	public void setReferee(String referee) {
		this.referee = referee;
	}

	public Double getExpressiveness() {
		return expressiveness;
	}

	public void setExpressiveness(Double expressiveness) {
		this.expressiveness = expressiveness;
	}

	public Double getAccuracy() {
		return accuracy;
	}

	public void setAccuracy(Double accuracy) {
		this.accuracy = accuracy;
	}

	public Integer getWinner() {
		return winner;
	}

	public void setWinner(Integer winner) {
		this.winner = winner;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getRefereeId() {
		return refereeId;
	}

	public void setRefereeId(Integer refereeId) {
		this.refereeId = refereeId;
	}

	@Override
	public String toString() {
		return "MatchScore{" +
			", id=" + id +
			", matchScheduleId=" + matchScheduleId +
			", referee=" + referee +
			", expressiveness=" + expressiveness +
			", accuracy=" + accuracy +
			", winner=" + winner +
			", createTime=" + createTime +
			", refereeId=" + refereeId +
			"}";
	}
}
